home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q0155.dms
/
q0155.adf
/
ArpUserDocs3.1
/
Date
< prev
next >
Wrap
Text File
|
1991-04-16
|
2KB
|
67 lines
Date(V1.3) ARP User's Manual Date(V1.3)
NAME
DATE - Set or display the system date.
SYNOPSIS
DATE Date Time TO=VER/k
DESCRIPTION
Date is used to set the systems idea of the current date and
time, or to display the systems idea of the current date and
time.
To display the current system time simply use Date with no
arguments. You may specify a TO or verification file to
send the date to, if no TO file is specified, the date is
displayed in the current window.
To set the time you use the format HH:MM:SS where H stands
for hours, M stands for minutes, and S stands for seconds.
Leading zeroes are optional.
Both the display of the date and the setting of the date are
determined by the ARP environment variable 'dateformat'.
This determines one of several international formats for
displaying and setting the date. If 'dateformat' is not set
or if its value is zero, the AmigaDOS format is used. Here
is a list of the legal values for dateformat, and the
corresponding input and output formats:
0 This is the default AmigaDOS format, DD-MMM-YY is used
for both input and output. Note that if datetime is
undefined, or the value is illegal, this will be the
default option.
1 International format, YY-MM-DD is the format.
2 USA format, MM-DD-YY is the format.
3 Canadian format, DD-MM-YY is the format.
Note that dateformat controls the format for the input
string as well as the output display. You never have to
enter leading zeros, and you may always use words like
SATURDAY, YESTERDAY, TOMORROW, etc.
EXAMPLE
SET dateformat=0 ; Use default AmigaDOS format.
Date 1-jan-88 ; set the date, using AmigaDOS format
Page 1 (printed 4/28/89)